﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Lottery.Models.Home
{
    public class ChangePasswordModel : BaseModel
    {
        [Required(ErrorMessage = "请输入旧密码.")]
        [Display(Name = "旧密码：")]
        public string OldPassword { get; set; }

        [Required(ErrorMessage = "请输入新密码.")]
        [Display(Name = "新密码：")]
        public string NewPassword { get; set; }

        [Required(ErrorMessage = "请输入确认密码.")]
        [Display(Name = "确认密码：")]
        public string ConfirmPassword { get; set; }
    }
}